On tractable query evaluation for SPARQL
نویسندگان
چکیده
Despite much work within the last decade on foundational properties of SPARQL – the standard query language for RDF data – rather little is known about the exact limits of tractability for this language. In particular, this is the case for SPARQL queries that contain the OPTIONALoperator, even though it is one of the most intensively studied features of SPARQL. The aim of our work is to provide a more thorough picture of tractable classes of SPARQL queries. In general, SPARQL query evaluation is PSPACE-complete in combined complexity, and it remains PSPACE-hard already for queries containing only the OPTIONAL-operator. To amend this situation, research has focused on “well-designed SPARQL queries” and their recent generalization “weakly well-designed SPARQL queries”. For these two fragments the evaluation problem is coNP-complete in the absence of projection and Σ2P-complete otherwise. Moreover, they have been shown to contain most SPARQL queries asked in practical settings. In this paper, we study tractable classes of weakly well-designed queries in parameterized complexity considering the equivalent formulation as pattern trees. We give a complete characterization of the tractable classes in the case without projection. Moreover, we show a characterization of all tractable classes of simple well-designed pattern trees in the presence of projection.
منابع مشابه
Query Graph Model for SPARQL
Several query language for RDF have been proposed before the World Wide Web Consortium started to standardize SPARQL. Due to the declarative nature of the proposed query languages, a query engine is responsible to choose an efficient evaluation strategy. Although all of the RDF repositories provide query capabilities, some of them disregard declarativeness during query evaluation. In this paper...
متن کاملROSIE: Runtime Optimization of SPARQL Queries Using Incremental Evaluation
Relational databases are wildly adopted in RDF (Resource Description Framework) data management. For efficient SPARQL query evaluation, the legacy query optimizer needs reconsiderations. One vital problem is how to tackle the suboptimal query plan caused by error-prone cardinality estimation. Consider the schema-free nature of RDF data and the Join-intensive characteristic of SPARQL query, dete...
متن کاملA Cost Model for Querying Distributed RDF-Repositories with SPARQL
In the last years, the query language SPARQL has evolved into the widely accepted standard for querying RDF. Since many Semantic Web applications make use of data whose storage and management is distributed, distributed SPARQL query processing becomes necessary. In the relation and object-oriented database community the efficiency gain by cost-based, adaptive optimizers for distributed querying...
متن کاملRDFMatView: Indexing RDF Data using Materialized SPARQL queries
The Semantic Web aims to create a universal medium for the exchange of semantically tagged data. The idea of representing and querying this information by means of directed labelled graphs, i.e., RDF and SPARQL, has been widely accepted by the scientific community. However, even when most current implementations of RDF/SPARQL are based on ad-hoc storage systems, processing complex queries on la...
متن کاملAn Evaluation of SPARQL Federation Engines Over Multiple Endpoints
Due to decentralized and linked architecture underlying Linking Data, running complex queries often require collecting data from multiple RDF datasets. The optimization of the runtime of such queries, called federated queries, is of central importance to ensure the scalability of Semantic-Web and Linked-Data-driven applications. This has motivated a considerable body of work on SPARQL query fed...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- CoRR
دوره abs/1712.08939 شماره
صفحات -
تاریخ انتشار 2017